package com.zero.system.service;


import com.zero.system.entity.Company;
import com.zero.system.util.PageBean;

import java.util.List;
import java.util.Map;

public interface CompanyService {
    PageBean<Company> queryPage(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Company company);

    Company findById(Integer id);

    int delete(List<Integer> ids);

    int update(Company company);

    Company findByName(String name);

    List<Company> findAll();

}
